package cn.ds.assets.module.assets.convert.metadataJobInstance;

import java.util.*;

import cn.ds.assets.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.ds.assets.module.assets.controller.admin.metadataJobInstance.vo.*;
import cn.ds.assets.module.assets.dal.dataobject.metadataJobInstance.BaseMetadataJobInstanceDO;

/**
 * 元数据管理-元数据采集作业实例 Convert
 *
 * @author admin
 */
@Mapper
public interface BaseMetadataJobInstanceConvert {

    BaseMetadataJobInstanceConvert INSTANCE = Mappers.getMapper(BaseMetadataJobInstanceConvert.class);

    BaseMetadataJobInstanceDO convert(BaseMetadataJobInstanceCreateReqVO bean);

    BaseMetadataJobInstanceDO convert(BaseMetadataJobInstanceUpdateReqVO bean);

    BaseMetadataJobInstanceRespVO convert(BaseMetadataJobInstanceDO bean);

    List<BaseMetadataJobInstanceRespVO> convertList(List<BaseMetadataJobInstanceDO> list);

    PageResult<BaseMetadataJobInstanceRespVO> convertPage(PageResult<BaseMetadataJobInstanceDO> page);

    List<BaseMetadataJobInstanceExcelVO> convertList02(List<BaseMetadataJobInstanceDO> list);

}
